home *** CD-ROM | disk | FTP | other *** search
-
-
-
- wwwwmmmmppppaaaacccckkkk((((3333GGGG)))) wwwwmmmmppppaaaacccckkkk((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- wwwwmmmmppppaaaacccckkkk - specifies RGBA writemask with a single packed integer
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- vvvvooooiiiidddd wwwwmmmmppppaaaacccckkkk((((ppppaaaacccckkkk))))
- uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg ppppaaaacccckkkk;;;;
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _p_a_c_k expects a packed integer containing the RGBA (red, green, blue,
- alpha) values you want to assign as the current write mask.
- Expressed in hexadecimal, the format of the packed integer is
- 0x_a_a_b_b_g_g_r_r, where:
-
- _a_a is the alpha value,
- _b_b is the blue value,
- _g_g is the green value, and
- _r_r is the red value.
-
- RGBA component values range from 0 to 0xFF (255).
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- wwwwmmmmppppaaaacccckkkk sets the red, green, blue, and alpha write mask components of the
- currently active GL framebuffer, one of normal, popup, overlay, or
- underlay as specified by ddddrrrraaaawwwwmmmmooooddddeeee. The current framebuffer must be in
- RGB mode for the wwwwmmmmppppaaaacccckkkk command to be applicable. All drawing into the
- color bitplanes of the current framebuffer is masked by the current write
- mask. Write mask components are retained in each draw mode, so when a
- draw mode is re-entered, the red, green, blue, and alpha masks are reset
- to the last values specified in that draw mode.
-
- Each write mask component is an 8-bit mask, which allows changes only to
- bitplanes corresponding to ones in the mask. For example,
- wwwwmmmmppppaaaacccckkkk((((0000xxxxFFFFFFFF0000000000000000FFFF0000)))) allows changes only to the 4 most significant bits of
- red, and to all the bits of alpha.
-
- It is an error to call wwwwmmmmppppaaaacccckkkk while the current framebuffer is in color
- map mode.
-
- The write mask components of all framebuffers in RGB mode are set to 0xFF
- when ggggccccoooonnnnffffiiiigggg is called.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cpack, drawmode, gRGBmask, RGBmode
-
- NNNNOOOOTTTTEEEE
- Because only the normal framebuffer currently supports RGB mode, wwwwmmmmppppaaaacccckkkk
- should be called only while draw mode is NNNNOOOORRRRMMMMAAAALLLLDDDDRRRRAAAAWWWW. Use ggggeeeettttggggddddeeeesssscccc to
- determine whether RGB mode is available in draw mode NNNNOOOORRRRMMMMAAAALLLLDDDDRRRRAAAAWWWW.
-
- On Impact and Infinite Reality only whole components can be masked. RGB
- and A can be completely masked or not masked at all.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-